/* container */
.tab-container {
	margin-bottom: 2em;
}

.tab-container .tab-container {
	margin-bottom: 0;
}

.tab-container-vertical {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row nowrap;
	flex-flow: row nowrap;
}

/* label container */
.tab-container .label-container {
	position: relative;
}

.tab-container .label-container-header-horizontal {
	bottom: -1px;
}

.tab-container .label-container-footer-horizontal {
	top: -1px;
}

.tab-container .label-container-vertical {
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
}

.tab-container .label-container-header-vertical {
	margin-right: -1px;
}

.tab-container .label-container-footer-vertical {
	margin-left: -1px;
}

/* label item */
.tab-container .label-container .label-item {
	padding: 0.5em 1em;
	cursor: pointer;
	border: 1px solid;
}

.tab-container .label-container-horizontal .label-item {
	display: -moz-inline-stack;
	display: inline-block;
	margin-right: 1em;
}



.tab-container .label-container-header-horizontal .label-item {
	vertical-align: bottom;
}

.tab-container .label-container-footer-horizontal .label-item {
	vertical-align: top;
}

.tab-container .label-container-vertical .label-item {
	display: block;
	margin-bottom: 0.3em;
}

/* panel container */
.tab-container .panel-container {
	border: 1px solid;
	padding: 1em;
}

.tab-container .panel-container-vertical {
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
}

/* panel item */
.tab-container .panel-container .panel-item-inactive {
	display: none;
}

.tab-container .panel-container .panel-item-evaluating {
	position: absolute;
	z-index: -1;
	display: block;
	visibility: hidden;
}
.tab-container .panel-container {
	border-color: #ccc;
	background: #fff;
}

.tab-container .label-container .label-item {
	color: #aaa;
	border-color: #ccc;
	background: #fff;
	outline: 0;
}

.tab-container .label-container .label-item-active {
	color: #000;
}

.tab-container .label-container-header-horizontal .label-item-active {
	border-bottom-color: #fff;
}

.tab-container .label-container-footer-horizontal .label-item-active {
	border-top-color: #fff;
}

.tab-container .label-container-header-vertical .label-item-active {
	border-right-color: #fff;
}

.tab-container .label-container-footer-vertical .label-item-active {
	border-left-color: #fff;
}

.tab-container .label-container .label-item-disabled {
	color: #ddd;
	cursor: default;
	opacity: 0.7;
}

.tab-container .label-container .label-item-hidden {
	display: none;
}
